package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 会员卡
 *
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("apply_shop_device_record")
public class ApplyShopDeviceRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 申请人userid
	 */
	private Integer reqUserId;
	/**
	 * 申请人userid
	 */
	private String reqName;
	/**
	 * 联系方式
	 */
	private String contactPhone;
	/**
	 * 申请访问企业id
	 */
	private Integer applyShopId;
	private Integer applyShopGroupId;
	private Integer applyShopPianquId;
	/**
	 * 申请访问企业名称
	 */
	private String applyShopName;
	/**
	 * 1-制粒机 2-油罐 多个,分隔
	 */
	private String applyDeviceType;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 审核人user表id
	 */
	private Integer examineUserId;
	/**
	 * 审核人sys_user表id
	 */
	private Integer examineSysUserId;
	/**
	 * 审核状态 0-待审核 1-审核通过 2-审核驳回
	 */
	private Integer examineState;

	private String examineSysUserName;
	/**
	 * 审核时间
	 */
	private Date examineTime;
	/**
	 * 到期时间 通过时间30分钟后
	 */
	private Date effectTime;

	@TableField(exist = false)
	private int isCanCheck;

	@TableField(exist = false)
	private String applyDeviceTypeStr;

	@TableField(exist = false)
	private int isEffective;

	@TableField(exist = false)
	private String createTimeStr;

	@TableField(exist = false)
	private String examineTimeStr;

	@TableField(exist = false)
	private String effectTimeStr;

}
